/**
 *
 */
package de.cbf.cam.dsa.person.generator.entities;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Alti
 *
 */
public class NameDataPart {

	protected String text = "";
	protected List<String> attributes = new ArrayList<String>();


	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public List<String> getAttributes() {
		return attributes;
	}

	public void addAttribute(String attribute){
		attributes.add(attribute);
	}

	public void removeAttribute(String attribute){
		attributes.remove(attribute);
	}

	public void setAttributes(List<String> attributes) {
		this.attributes = attributes;
	}



}
